﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 库房
    /// </summary>
    public partial class TWarehouse
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 库房编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 库房名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 库房类型Id
        /// </summary>
        public int? TypeId { get; set; }
        /// <summary>
        /// 库房类型名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 对应ERP系统的库房编码
        /// </summary>
        public string Erpcode { get; set; }
        /// <summary>
        /// 状态：0-禁用；1-正常
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string MobilePhone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string AddrDetail { get; set; }
        /// <summary>
        /// 库房面积
        /// </summary>
        [Column(TypeName = "decimal(18,2)")]
        public decimal? BuiltArea { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyDate { get; set; }
        /// <summary>
        /// 修改用户Id
        /// </summary>
        public int? ModifyUserId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifyUserName { get; set; }
        /// <summary>
        /// 区域计数
        /// </summary>
        public int? AreaCount { get; set; }
        /// <summary>
        /// 站点计数
        /// </summary>
        public int? StationCount { get; set; }
        /// <summary>
        /// 路径计数
        /// </summary>
        public int? RoutewayCount { get; set; }
        /// <summary>
        /// 是否为主要
        /// </summary>
        public bool? IsMain { get; set; }
        /// <summary>
        /// 地图代码
        /// </summary>
        public string MapCode { get; set; }
    }
}
